﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="WebApplication1.index" %>

<%@ Register Assembly="dsconvert" Namespace="dsconvert" TagPrefix="cc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TreeView ID="TreeView1" runat="server" DataSourceID="Treeds1">
            <DataBindings>
                <asp:TreeNodeBinding DataMember="Id" Text="Id" TextField="name" Value="Id" ValueField="Id" />
            </DataBindings>
            </asp:TreeView>
        <cc1:treeds ID="Treeds1" runat="server" DataSourceID="SqlDataSource1" datatid="Id" parentid="pid"></cc1:treeds>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT * FROM [dituwz]"></asp:SqlDataSource>
    </div>
    </form>
</body>
</html>
